CMPAE=0, CMPBE=0, CMPAIE=0, WCMPE=0, CMPAB=00, CMPBIE=0
A/D Compare Function Control Register
CMPAB | Window A/B Composite Conditions Setting 0 (00): Output ADC120_WCMPM when window A OR window B comparison conditions are met. Otherwise, output ADC120_WCMPUM. 1 (01): Output ADC120_WCMPM when window A EXOR window B comparison conditions are met. Otherwise, output ADC120_WCMPUM. 2 (10): Output ADC120_WCMPM when window A AND window B comparison conditions are met. Otherwise, output ADC120_WCMPUM. 3 (11): Setting prohibited. |
CMPBE | Compare Window B Operation Enable 0 (0): Disable compare window B operation. Disable ADC120_WCMPM and ADC120_WCMPUM outputs. 1 (1): Enable compare window B operation. |
CMPAE | Compare Window A Operation Enable 0 (0): Disable compare window A operation. Disable ADC120_WCMPM and ADC120_WCMPUM outputs. 1 (1): Enable compare window A operation. |
CMPBIE | Compare B Interrupt Enable 0 (0): Disable ADC120_CMPBI interrupt when comparison conditions (window B) are met. 1 (1): Enable ADC120_CMPBI interrupt when comparison conditions (window B) are met. |
WCMPE | Window Function Setting 0 (0): Disable window function Window A and window B operate as a comparator to compare the single value on the lower side with the A/D conversion result. 1 (1): Enable window function Window A and window B operate as a comparator to compare the two values on the upper and lower sides with the A/D conversion result. |
CMPAIE | Compare A Interrupt Enable 0 (0): Disable ADC120_CMPAI interrupt when comparison conditions (window A) are met. 1 (1): Enable ADC120_CMPAI interrupt when comparison conditions (window A) are met. |